#{extends 'main.html' /}
#{set title:'show.html' /}

<article>
    <div class="title_article_unclickable" style="border-radius: 0px 0px 0px 0px;">Actualités</div>
    <div class="content_article" style="display: block;">
        <div class="news_articleshow">
            <span class="span_cat">cat : <b><i>${entity.category.toString()}</i></b></span><br/>
            <img src="@{'/public/images/Articles'}/${entity.images}" alt=" Image ${entity.images} introuvable"/>
            <span class="span_titleshow"><b>${entity.title}</b></span><br/>
            <span class="span_info"><i>le ${entity.created.format('dd MMM yy')}  par <b>${entity.user.username}</b></i></span>
            <br/><br/>
            <p>${entity.content}</p>
            #{if entity.updated != entity.created}
            <span><i>Mis à jour le : ${entity.updated.format('dd MMM yy')} à ${entity.updated.format('hh:mm')}</i></span><br/>
            #{/if}
        </div>
</article>
<br/>